package com.token.iot.bratterycharging.boss.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.outstanding.framework.plugin.money.Money;
import com.token.base.order.api.OrderVO;
import com.token.iot.bratterycharging.boss.web.ReqPageDto;

@Repository
public interface OrderDAO {

	public List<OrderVO> queryByAgentId(@Param("agentid") String agentid);

	public List<OrderVO> queryByMerchantId(@Param("merchantId") String merchantId);

	public String countOnLineByAgentId(@Param("agentid") String agentid);
	public String countOffLineByAgentId(@Param("agentid") String agentid);

	public String countOnLineByMerchantId(@Param("merchantId") String merchantId);
	public String countOffLineByMerchantId(@Param("merchantId") String merchantId);
	
	
	public String countALLOnLine();
	public String countALLOffLine();

	public List<OrderVO> query();
	
	
	public List<OrderVO> queryByReqPageDto(ReqPageDto dto);
}
